package com.jspx.talk;


import com.jspx.txweb.table.TalkMessage;

import java.util.List;
import java.util.Map;

/**
 * Created by yuan on 2015/8/10 0010
 * 消息发送过滤监听.
 */
public interface TalkListener  {

    //得到事件处理名称
    String getName();
    String delete(List<TalkMessage> talkMessageList);
    String send(TalkMessage talkMessage);
    String delete(TalkMessage[] talkMessages);
    Map<String, String> getFieldErrors();
    boolean hasErrors();

}
